using System;
using System.Collections.Generic;
using System.Text;

namespace CaseData {
    public class CaseRow {
        private long m_caseId;
        private string m_ticketId;
        private string m_complaintId;
        private WhereFrom m_whereFromId;
        private CaseStatus m_caseStatusId;
        private string m_description;
        private DateTime m_recievedDateTime;
        private DateTime m_CloseDate;
        private bool m_dayOneCallOne;
        private bool m_dayOneEmail;
        private bool m_dayOneCallTwo;
        private bool m_DayOneCallThree;
        private bool m_dayTwoCallOne;
        private bool m_dayTwoCallTwo;
        private bool m_dayThreeCallOne;
        private bool m_dayFourCallOne;
        private bool m_dayFiveCallOne;
        private bool m_noContactLetter;
        private bool m_daySixCallOne;
        private bool m_daySevenCallOne;
        //private bool m_CustomerContacted;
        private string m_customerName;
        private string m_customerAdress;
        //private string m_Notes;
        //private string m_ToDo;

        
        
        

        public CaseRow ( ) { }
        public CaseRow ( CaseBase.CaseItemRow caseDataRow ) {
            m_caseId = (long) caseDataRow.CaseId ;
            m_ticketId = (string) caseDataRow.TicketId;
            m_complaintId = (string) caseDataRow.ComplaintId;
            m_whereFromId = (WhereFrom) caseDataRow.WhereFromId;
            m_caseStatusId = (CaseStatus)caseDataRow.CaseStatusId;
            m_description = (string) caseDataRow.Description.ToString();
            m_recievedDateTime = (DateTime) caseDataRow.RecievedTime;
            m_dayOneCallOne = (bool) caseDataRow.DayOneCallOne;
            m_dayOneEmail = (bool) caseDataRow.DayOneEmail;
            m_dayOneCallTwo = (bool) caseDataRow.DayOneCallTwo;
            m_dayTwoCallOne = (bool) caseDataRow.DayTwoCallOne;
            m_dayTwoCallTwo = (bool) caseDataRow.DayTwoCallTwo;
            m_dayThreeCallOne = (bool) caseDataRow.DayThreeCallOne;
            m_dayFourCallOne = (bool) caseDataRow.DayFourCallOne;
            m_dayFiveCallOne = (bool) caseDataRow.DayFiveCallOne;
            m_noContactLetter = (bool) caseDataRow.NoContactLetter;
            m_daySixCallOne = (bool) caseDataRow.DaySixCallOne;
            m_daySevenCallOne = (bool) caseDataRow.DaySevenCallOne;
            m_customerName = (string) caseDataRow.CustomerName;
            //m_Notes = (string) caseDataRow.Notes;
            //m_ToDo = (string) caseDataRow.ToDo;
            m_customerAdress = (string) caseDataRow.CustomerAdress;
            //m_CustomerContacted = (bool) caseDataRow.CustomerContacted;
            m_DayOneCallThree = (bool) caseDataRow.DayOneCallThree;
            m_CloseDate = (DateTime) caseDataRow.CloseDate;
        }
        public long CaseId {
            get { return m_caseId; }
            set { m_caseId = value; }
        }
        public string TicketId {
            get { return m_ticketId; }
            set { m_ticketId = value; }
        }
        public string ComplaintId {
            get { return m_complaintId; }
            set { m_complaintId = value; }
        }
        public WhereFrom WhereFromId {
            get { return m_whereFromId; }
            set { m_whereFromId = value; }
        }
        public CaseStatus CaseStatusId {
            get { return m_caseStatusId; }
            set { m_caseStatusId = value; }
        }
        public string Description {
            get { return m_description; }
            set { m_description = value; }
        }
        public DateTime RecievedDateTime {
            get { return m_recievedDateTime; }
            set { m_recievedDateTime = value; }
        }
        public bool DayOneCallOne {
            get { return m_dayOneCallOne; }
            set { m_dayOneCallOne = value; }
        }
        public bool DayOneEmail {
            get { return m_dayOneEmail; }
            set { m_dayOneEmail = value; }
        }
        public bool DayOneCallTwo {
            get { return m_dayOneCallTwo; }
            set { m_dayOneCallTwo = value; }
        }
        public bool DayTwoCallOne {
            get { return m_dayTwoCallOne; }
            set { m_dayTwoCallOne = value; }
        }
        public bool DayTwoCallTwo {
            get { return m_dayTwoCallTwo; }
            set { m_dayTwoCallTwo = value; }
        }
        public bool DayThreeCallOne {
            get { return m_dayThreeCallOne; }
            set { m_dayThreeCallOne = value; }
        }
        public bool DayFourCallOne {
            get { return m_dayFourCallOne; }
            set { m_dayFourCallOne = value; }
        }
        public bool DayFiveCallOne {
            get { return m_dayFiveCallOne; }
            set { m_dayFiveCallOne = value; }
        }
        public bool NoContactLetter {
            get { return m_noContactLetter; }
            set { m_noContactLetter = value; }
        }

        public bool DaySixCallOne {
            get { return m_daySixCallOne; }
            set { m_daySixCallOne = value; }
        }
        public bool DaySevenCallOne {
            get { return m_daySevenCallOne; }
            set { m_daySevenCallOne = value; }
        }

        public string CustomerName {
            get { return m_customerName; }
            set { m_customerName = value; }
        }
        public string CustomerAdress {
            get { return m_customerAdress; }
            set { m_customerAdress = value; }
        }
        //public string ToDo {
        //    get { return m_ToDo; }
        //    set { m_ToDo = value; }
        //}
        //public string Notes {
        //    get { return m_Notes; }
        //    set { m_Notes = value; }
        //}

        public DateTime CloseDate {
            get { return m_CloseDate; }
            set { m_CloseDate = value; }
        }

        public bool DayOneCallThree {
            get { return m_DayOneCallThree; }
            set { m_DayOneCallThree = value; }
        }

        //public bool CustomerContacted {
        //    get { return m_CustomerContacted; }
        //    set { m_CustomerContacted = value; }
        //}
    }
}
